/*
 * tasklist.h
 *
 *  Created on: Dec 10, 2011
 *      Author: sxg8392
 */

#ifndef TASKLIST_H_
#define TASKLIST_H_

#ifndef MAXTASK
#define MAXTASK 10
#endif

//current task Count
#ifndef TASKCOUNT
#define TASKCOUNT 3
#endif


// to create the TaskList
struct taskStruct {
	int pExecutionTime;
	int pPeriod;
};



//TASK LIST

void getTasksFromtaskList(taskStruct *taskList) {

	taskList[0].pExecutionTime = 45;
	taskList[0].pPeriod = 135;

	taskList[1].pExecutionTime = 50;
	taskList[1].pPeriod = 150;

	taskList[2].pExecutionTime = 80;
	taskList[2].pPeriod = 360;

	/*taskList[2].pExecutionTime = 5;
	taskList[2].pPeriod = 100;*/



}
//#endif


#endif /* TASKLIST_H_ */
